package com.ruoyi.storage.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class CosTenConfig {


    @Value("${cos.tencent.secret-id}")
    private String secretId;

    @Value("${cos.tencent.secret-key}")
    private String secretKey;

    @Value("${cos.tencent.region}")
    private String region;

    @Value("${cos.tencent.bucket-name}")
    private String bucketName;

    @Value("${cos.tencent.endpoint}")
    private String endpoint;

    @Value("${cos.tencent.host-url}")
    private String hostUrl;

    @Value("${cos.tencent.duration}")
    private Long duration;

}
